<template>
  <div class="box">
    <h1><font color="white">sign</font></h1>

    <input id="file" type="file" name="image" hidden />
    <div class="touxiang">
      <img
        src="#"
        id="avator"
        class="round_icon"
        width="80"
        height="80"
      />
    </div>

    <input type="text" placeholder="请输入用户名" id="signName" size="50" />
    <br />
    <br />
    <input type="password" placeholder="请输入密码" id="signPassword" />
    <br />
    <br />
    <input type="password" placeholder="请再输入密码" id="reSignPassword" />
    <button class="button" onclick="sign()">
      <font color="white">注册</font>
    </button>
  </div>
</template>

<script>
export default {};

</script>

<style>
body {
  margin: 0;
  padding: 0;
  background-image: url("http://114.116.112.52:8080/data/img/ct.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0px -50px;
  position: absolute;
  top: 15%;
  left: 38%;
}
.box {
  text-align: center;
  font-size: 15px;
}
.box input[type="text"],
.box input[type="password"] {
  width: 280px;
  font-size: 35px;
  text-align: center;
  border-radius: 15px;
}
.box.h1 {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 500;
}
.box {
  width: 300px;
  padding: 40px;
  position: absolute;
  top: 15%;
  left: 38%;
  background-color: #00000068;
  text-align: center;
}
.button {
  border: 0;
  font-size: 17px;
  background: none;
  display: block;
  margin: 20px auto;
  text-align: center;
  border: 2px solid #ffffff;
  padding: 14px 40px;
  outline: none;
  color: #ffffff;
  border-radius: 24px;
  transition: 0.25s;
  cursor: pointer;
}
.button:hover {
  background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
  font-size: x-large;
}
.round_icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
}
</style>